package com.zlq.cn.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author zhoucl
 * @since 2024-04-10
 */
@Getter
@Setter
@TableName("exam_questions")
@ApiModel(value = "ExamQuestions对象", description = "")
public class ExamQuestions implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "question_id", type = IdType.AUTO)
    private Integer questionId;

    private String chapterParentId;

    @TableField(value = "`year`")
    private String year;

    private String numberNumber;

    private String sNum;

    private String chapterId;

    private Integer testPaperId;

    private String title;

    private String mediaImg;

    @TableField(value = "`restore`")
    private String restore;

    private String difficulty;

    private String chapterTitle;

    private String restoren;

    private String chapterParentTitle;

    private String questionType;

    private String answer;

    private String type;

    private String isHighTest;

    private String number;

    private String isDel;

    private String mediaId;

    private String explainn;

    private String syllabus;

    @TableField(value = "`explain`")
    private String explain;

    private String mediaUrl;

    private String explainImg;

    private String recovery;

    private String titleImg;

    @TableField("dbType")
    private String dbtype;

    private String score;

    private String isCase;

    private String unit;

    private String source;

    private String diffculty;

    private String iscase;

    private String isdel;

    private String sid;

    @ApiModelProperty(name = "章节")
    private String chapter;

    @ApiModelProperty(name = "知识点")
    private String knowledgePoints;

    @TableField(exist = false)
    @Excel(name = "选项A")
    private String itema;

    @TableField(exist = false)
    @Excel(name = "选项B")
    private String itemb;

    @TableField(exist = false)
    @Excel(name = "选项C")
    private String itemc;

    @TableField(exist = false)
    @Excel(name = "选项D")
    private String itemd;

    @TableField(exist = false)
    @Excel(name = "选项E")
    private String iteme;

    @TableField(exist = false)
    private List<ExamAnswers> examAnswers;

    @TableField(exist = false)
    private String testPaperNum;
}
